Office 365 Scope
AutomatR.Office365.Activities.Office365Scope
The "Office 365 Scope" activity in AutomatR is a foundational activity designed for Office 365 integration, enabling automation workflows to interact with Microsoft Office services. This activity establishes a scope for executing activities that require access to Office 365 resources, such as fetching tokens for specified mail IDs.
Properties
Name | Description |
---|---|
Input | |
Refresh Token | Specifies the authentication details, including the refresh token and associated mail ID, required to obtain the API token for accessing the Office 365 account. Use the provided editor to browse and select the refresh token and associated mail ID. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Office 365 Scope" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Nested Activity (Body) | This activity contains a nested sequence of activities that are executed within the Office 365 scope. It provides a structured environment for performing actions within the Office 365 integration. |
Note: The "Office 365 Scope" activity requires a valid refresh token for authentication. Ensure that the refresh token is provided to establish a valid connection with Office 365.
How to use:
- Drag and drop the "Office 365 Scope" activity onto the workflow.
- Configure the properties by specifying the delay duration and providing the refresh token for authentication.
- Inside the activity, configure the nested sequence of activities to perform actions within the Office 365 scope.
- Execute the workflow to establish the Office 365 scope and execute the specified activities.
Example: Consider an example where the "Office 365 Scope" activity is used to fetch tokens for accessing emails within Office 365:
Office 365 Scope:
Display Name: "Office 365 Email Access Scope"
Delay: 5
Refresh Token: (browse for refresh token)
(Nested Activities):
- Get Mail By Id
- Copy File
- ... (other Office 365 activities)
In this example, the activity waits for 5 seconds before establishing the Office 365 scope. The refresh token is used to fetch tokens for accessing emails within the specified nested activities.